<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Utils3D | ts</title>
	<meta name="description" content="Documentation for ts">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">ts</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_laya_d3_utils_utils3d_.html">&quot;laya/d3/utils/Utils3D&quot;</a>
				</li>
				<li>
					<a href="_laya_d3_utils_utils3d_.utils3d.html">Utils3D</a>
				</li>
			</ul>
			<h1>Class Utils3D</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p><code>Utils3D</code> 类用于创建3D工具。</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">Utils3D</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_utils_utils3d_.utils3d.html#createaffinetransformationarray" class="tsd-kind-icon">create<wbr>Affine<wbr>Transformation<wbr>Array</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_utils_utils3d_.utils3d.html#geturlverion" class="tsd-kind-icon">getURLVerion</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_utils_utils3d_.utils3d.html#mulmatrixbyarray" class="tsd-kind-icon">mul<wbr>Matrix<wbr>ByArray</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_utils_utils3d_.utils3d.html#mulmatrixbyarrayandmatrixfast" class="tsd-kind-icon">mul<wbr>Matrix<wbr>ByArray<wbr>And<wbr>Matrix<wbr>Fast</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_utils_utils3d_.utils3d.html#mulmatrixbyarrayfast" class="tsd-kind-icon">mul<wbr>Matrix<wbr>ByArray<wbr>Fast</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_utils_utils3d_.utils3d.html#quaternionweight" class="tsd-kind-icon">quaternion<wbr>Weight</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_utils_utils3d_.utils3d.html#transformquat" class="tsd-kind-icon">transform<wbr>Quat</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_utils_utils3d_.utils3d.html#transformvector3arraybyquat" class="tsd-kind-icon">transform<wbr>Vector3<wbr>Array<wbr>ByQuat</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_utils_utils3d_.utils3d.html#transformvector3arraytovector3arraycoordinate" class="tsd-kind-icon">transform<wbr>Vector3<wbr>Array<wbr>ToVector3<wbr>Array<wbr>Coordinate</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_utils_utils3d_.utils3d.html#transformvector3arraytovector3arraynormal" class="tsd-kind-icon">transform<wbr>Vector3<wbr>Array<wbr>ToVector3<wbr>Array<wbr>Normal</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_d3_utils_utils3d_.utils3d.html#uint8arraytoarraybuffer" class="tsd-kind-icon">uint8<wbr>Array<wbr>ToArray<wbr>Buffer</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="createaffinetransformationarray" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> create<wbr>Affine<wbr>Transformation<wbr>Array</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">create<wbr>Affine<wbr>Transformation<wbr>Array<span class="tsd-signature-symbol">(</span>tX<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, tY<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, tZ<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, rX<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, rY<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, rZ<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, rW<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, sX<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, sY<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, sZ<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, outArray<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, outOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/utils/Utils3D.ts#L356">laya/d3/utils/Utils3D.ts:356</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>通过数平移、旋转、缩放值计算到结果矩阵数组。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>tX: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>left矩阵数组。</p>
									</div>
								</li>
								<li>
									<h5>tY: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>left矩阵数组的偏移。</p>
									</div>
								</li>
								<li>
									<h5>tZ: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>right矩阵数组。</p>
									</div>
								</li>
								<li>
									<h5>rX: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>rY: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>rZ: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>rW: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>sX: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>输出矩阵数组的偏移。</p>
									</div>
								</li>
								<li>
									<h5>sY: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>输出矩阵数组的偏移。</p>
									</div>
								</li>
								<li>
									<h5>sZ: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>输出矩阵数组的偏移。</p>
									</div>
								</li>
								<li>
									<h5>outArray: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>结果矩阵数组。</p>
									</div>
								</li>
								<li>
									<h5>outOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>结果矩阵数组的偏移。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="geturlverion" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> getURLVerion</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">getURLVerion<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/utils/Utils3D.ts#L432">laya/d3/utils/Utils3D.ts:432</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>获取URL版本字符。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>url: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="mulmatrixbyarray" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> mul<wbr>Matrix<wbr>ByArray</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">mul<wbr>Matrix<wbr>ByArray<span class="tsd-signature-symbol">(</span>leftArray<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, leftOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, rightArray<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, rightOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, outArray<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, outOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/utils/Utils3D.ts#L256">laya/d3/utils/Utils3D.ts:256</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>通过数组数据计算矩阵乘法。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>leftArray: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>left矩阵数组。</p>
									</div>
								</li>
								<li>
									<h5>leftOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>left矩阵数组的偏移。</p>
									</div>
								</li>
								<li>
									<h5>rightArray: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>right矩阵数组。</p>
									</div>
								</li>
								<li>
									<h5>rightOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>right矩阵数组的偏移。</p>
									</div>
								</li>
								<li>
									<h5>outArray: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>输出矩阵数组。</p>
									</div>
								</li>
								<li>
									<h5>outOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>输出矩阵数组的偏移。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="mulmatrixbyarrayandmatrixfast" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> mul<wbr>Matrix<wbr>ByArray<wbr>And<wbr>Matrix<wbr>Fast</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">mul<wbr>Matrix<wbr>ByArray<wbr>And<wbr>Matrix<wbr>Fast<span class="tsd-signature-symbol">(</span>leftArray<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, leftOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, rightMatrix<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_matrix4x4_.matrix4x4.html" class="tsd-signature-type">Matrix4x4</a>, outArray<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, outOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/utils/Utils3D.ts#L312">laya/d3/utils/Utils3D.ts:312</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>通过数组数据计算矩阵乘法,rightArray和outArray不能为同一数组引用。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>leftArray: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>left矩阵数组。</p>
									</div>
								</li>
								<li>
									<h5>leftOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>left矩阵数组的偏移。</p>
									</div>
								</li>
								<li>
									<h5>rightMatrix: <a href="_laya_d3_math_matrix4x4_.matrix4x4.html" class="tsd-signature-type">Matrix4x4</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>right矩阵。</p>
									</div>
								</li>
								<li>
									<h5>outArray: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>结果矩阵数组。</p>
									</div>
								</li>
								<li>
									<h5>outOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>结果矩阵数组的偏移。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="mulmatrixbyarrayfast" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> mul<wbr>Matrix<wbr>ByArray<wbr>Fast</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">mul<wbr>Matrix<wbr>ByArray<wbr>Fast<span class="tsd-signature-symbol">(</span>leftArray<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, leftOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, rightArray<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, rightOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, outArray<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, outOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/utils/Utils3D.ts#L289">laya/d3/utils/Utils3D.ts:289</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>通过数组数据计算矩阵乘法,rightArray和outArray不能为同一数组引用。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>leftArray: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>left矩阵数组。</p>
									</div>
								</li>
								<li>
									<h5>leftOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>left矩阵数组的偏移。</p>
									</div>
								</li>
								<li>
									<h5>rightArray: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>right矩阵数组。</p>
									</div>
								</li>
								<li>
									<h5>rightOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>right矩阵数组的偏移。</p>
									</div>
								</li>
								<li>
									<h5>outArray: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>结果矩阵数组。</p>
									</div>
								</li>
								<li>
									<h5>outOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>结果矩阵数组的偏移。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="quaternionweight" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> quaternion<wbr>Weight</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">quaternion<wbr>Weight<span class="tsd-signature-symbol">(</span>f<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_quaternion_.quaternion.html" class="tsd-signature-type">Quaternion</a>, weight<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, e<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_quaternion_.quaternion.html" class="tsd-signature-type">Quaternion</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/utils/Utils3D.ts#L552">laya/d3/utils/Utils3D.ts:552</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>修改四元数权重</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>f: <a href="_laya_d3_math_quaternion_.quaternion.html" class="tsd-signature-type">Quaternion</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>元数据</p>
									</div>
								</li>
								<li>
									<h5>weight: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>权重</p>
									</div>
								</li>
								<li>
									<h5>e: <a href="_laya_d3_math_quaternion_.quaternion.html" class="tsd-signature-type">Quaternion</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>目标数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="transformquat" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> transform<wbr>Quat</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">transform<wbr>Quat<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_vector3_.vector3.html" class="tsd-signature-type">Vector3</a>, rotation<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, out<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_vector3_.vector3.html" class="tsd-signature-type">Vector3</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/utils/Utils3D.ts#L534">laya/d3/utils/Utils3D.ts:534</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>四元数旋转矩阵</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>source: <a href="_laya_d3_math_vector3_.vector3.html" class="tsd-signature-type">Vector3</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>源数据</p>
									</div>
								</li>
								<li>
									<h5>rotation: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>旋转四元数Array</p>
									</div>
								</li>
								<li>
									<h5>out: <a href="_laya_d3_math_vector3_.vector3.html" class="tsd-signature-type">Vector3</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>输出数据</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="transformvector3arraybyquat" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> transform<wbr>Vector3<wbr>Array<wbr>ByQuat</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">transform<wbr>Vector3<wbr>Array<wbr>ByQuat<span class="tsd-signature-symbol">(</span>sourceArray<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, sourceOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, rotation<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_quaternion_.quaternion.html" class="tsd-signature-type">Quaternion</a>, outArray<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, outOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/utils/Utils3D.ts#L240">laya/d3/utils/Utils3D.ts:240</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>根据四元数旋转三维向量。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>sourceArray: <span class="tsd-signature-type">Float32Array</span></h5>
								</li>
								<li>
									<h5>sourceOffset: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>rotation: <a href="_laya_d3_math_quaternion_.quaternion.html" class="tsd-signature-type">Quaternion</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>旋转四元数。</p>
									</div>
								</li>
								<li>
									<h5>outArray: <span class="tsd-signature-type">Float32Array</span></h5>
								</li>
								<li>
									<h5>outOffset: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="transformvector3arraytovector3arraycoordinate" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> transform<wbr>Vector3<wbr>Array<wbr>ToVector3<wbr>Array<wbr>Coordinate</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">transform<wbr>Vector3<wbr>Array<wbr>ToVector3<wbr>Array<wbr>Coordinate<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, sourceOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, transform<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_matrix4x4_.matrix4x4.html" class="tsd-signature-type">Matrix4x4</a>, result<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, resultOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/utils/Utils3D.ts#L388">laya/d3/utils/Utils3D.ts:388</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>通过矩阵转换一个三维向量数组到另外一个三维向量数组。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>source: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>源三维向量所在数组。</p>
									</div>
								</li>
								<li>
									<h5>sourceOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>源三维向量数组偏移。</p>
									</div>
								</li>
								<li>
									<h5>transform: <a href="_laya_d3_math_matrix4x4_.matrix4x4.html" class="tsd-signature-type">Matrix4x4</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>变换矩阵。</p>
									</div>
								</li>
								<li>
									<h5>result: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>输出三维向量所在数组。</p>
									</div>
								</li>
								<li>
									<h5>resultOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>输出三维向量数组偏移。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="transformvector3arraytovector3arraynormal" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> transform<wbr>Vector3<wbr>Array<wbr>ToVector3<wbr>Array<wbr>Normal</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">transform<wbr>Vector3<wbr>Array<wbr>ToVector3<wbr>Array<wbr>Normal<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, sourceOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, transform<span class="tsd-signature-symbol">: </span><a href="_laya_d3_math_matrix4x4_.matrix4x4.html" class="tsd-signature-type">Matrix4x4</a>, result<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, resultOffset<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/utils/Utils3D.ts#L408">laya/d3/utils/Utils3D.ts:408</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>通过矩阵转换一个三维向量数组到另外一个归一化的三维向量数组。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>source: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>源三维向量所在数组。</p>
									</div>
								</li>
								<li>
									<h5>sourceOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>源三维向量数组偏移。</p>
									</div>
								</li>
								<li>
									<h5>transform: <a href="_laya_d3_math_matrix4x4_.matrix4x4.html" class="tsd-signature-type">Matrix4x4</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>变换矩阵。</p>
									</div>
								</li>
								<li>
									<h5>result: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>输出三维向量所在数组。</p>
									</div>
								</li>
								<li>
									<h5>resultOffset: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>输出三维向量数组偏移。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="uint8arraytoarraybuffer" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> uint8<wbr>Array<wbr>ToArray<wbr>Buffer</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">uint8<wbr>Array<wbr>ToArray<wbr>Buffer<span class="tsd-signature-symbol">(</span>rendertexture<span class="tsd-signature-symbol">: </span><a href="_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">String</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/d3/utils/Utils3D.ts#L754">laya/d3/utils/Utils3D.ts:754</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>将RenderTexture转换为Base64</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>rendertexture: <a href="_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>渲染Buffer</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">String</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_laya_d3_utils_utils3d_.html">&quot;laya/d3/utils/<wbr>Utils3<wbr>D&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_laya_d3_utils_utils3d_.utils3d.html" class="tsd-kind-icon">Utils3D</a>
						<ul>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_utils_utils3d_.utils3d.html#createaffinetransformationarray" class="tsd-kind-icon">create<wbr>Affine<wbr>Transformation<wbr>Array</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_utils_utils3d_.utils3d.html#geturlverion" class="tsd-kind-icon">getURLVerion</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_utils_utils3d_.utils3d.html#mulmatrixbyarray" class="tsd-kind-icon">mul<wbr>Matrix<wbr>ByArray</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_utils_utils3d_.utils3d.html#mulmatrixbyarrayandmatrixfast" class="tsd-kind-icon">mul<wbr>Matrix<wbr>ByArray<wbr>And<wbr>Matrix<wbr>Fast</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_utils_utils3d_.utils3d.html#mulmatrixbyarrayfast" class="tsd-kind-icon">mul<wbr>Matrix<wbr>ByArray<wbr>Fast</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_utils_utils3d_.utils3d.html#quaternionweight" class="tsd-kind-icon">quaternion<wbr>Weight</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_utils_utils3d_.utils3d.html#transformquat" class="tsd-kind-icon">transform<wbr>Quat</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_utils_utils3d_.utils3d.html#transformvector3arraybyquat" class="tsd-kind-icon">transform<wbr>Vector3<wbr>Array<wbr>ByQuat</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_utils_utils3d_.utils3d.html#transformvector3arraytovector3arraycoordinate" class="tsd-kind-icon">transform<wbr>Vector3<wbr>Array<wbr>ToVector3<wbr>Array<wbr>Coordinate</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_utils_utils3d_.utils3d.html#transformvector3arraytovector3arraynormal" class="tsd-kind-icon">transform<wbr>Vector3<wbr>Array<wbr>ToVector3<wbr>Array<wbr>Normal</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_d3_utils_utils3d_.utils3d.html#uint8arraytoarraybuffer" class="tsd-kind-icon">uint8<wbr>Array<wbr>ToArray<wbr>Buffer</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>